package org.larkdoc.model.entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 组信息实体(对应数据库表)
 * 
 * @author  zhangpeijun[zhangpeijun1024@qq.com]
 * @version  [v1.0.1, 2017年10月17日]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class GroupInfo implements Serializable {
    /**
     * id
     * Column : group_info.id
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 群组名称-角色名称
     * Column : group_info.name
     *
     * @mbggenerated
     */
    private String name;

    /**
     * 群组代码-角色代码
     * Column : group_info.code
     *
     * @mbggenerated
     */
    private String code;

    /**
     * 可见范围-0：自己可见，1：所有人可见
     * Column : group_info.visible_range
     *
     * @mbggenerated
     */
    private Integer visibleRange;

    /**
     * 创建者
     * Column : group_info.creator
     *
     * @mbggenerated
     */
    private String creator;

    /**
     * 数据状态-数据是否有效：0：无效,1：有效
     * Column : group_info.is_valid
     *
     * @mbggenerated
     */
    private Integer isValid;

    /**
     * 创建时间
     * Column : group_info.create_time
     *
     * @mbggenerated
     */
    private Date createTime;

    /**
     * 更新时间
     * Column : group_info.update_time
     *
     * @mbggenerated
     */
    private Date updateTime;

    /**
     * 备注信息
     * Column : group_info.remark
     *
     * @mbggenerated
     */
    private String remark;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table group_info
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * Returns : id
     *
     * @return the value of group_info.id
     *
     * @mbggenerated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets : id
     *
     * @param id the value for group_info.id
     *
     * @mbggenerated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * Returns : 群组名称-角色名称
     *
     * @return the value of group_info.name
     *
     * @mbggenerated
     */
    public String getName() {
        return name;
    }

    /**
     * This method sets : 群组名称-角色名称
     *
     * @param name the value for group_info.name
     *
     * @mbggenerated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * Returns : 群组代码-角色代码
     *
     * @return the value of group_info.code
     *
     * @mbggenerated
     */
    public String getCode() {
        return code;
    }

    /**
     * This method sets : 群组代码-角色代码
     *
     * @param code the value for group_info.code
     *
     * @mbggenerated
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * Returns : 可见范围-0：自己可见，1：所有人可见
     *
     * @return the value of group_info.visible_range
     *
     * @mbggenerated
     */
    public Integer getVisibleRange() {
        return visibleRange;
    }

    /**
     * This method sets : 可见范围-0：自己可见，1：所有人可见
     *
     * @param visibleRange the value for group_info.visible_range
     *
     * @mbggenerated
     */
    public void setVisibleRange(Integer visibleRange) {
        this.visibleRange = visibleRange;
    }

    /**
     * Returns : 创建者
     *
     * @return the value of group_info.creator
     *
     * @mbggenerated
     */
    public String getCreator() {
        return creator;
    }

    /**
     * This method sets : 创建者
     *
     * @param creator the value for group_info.creator
     *
     * @mbggenerated
     */
    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    /**
     * Returns : 数据状态-数据是否有效：0：无效,1：有效
     *
     * @return the value of group_info.is_valid
     *
     * @mbggenerated
     */
    public Integer getIsValid() {
        return isValid;
    }

    /**
     * This method sets : 数据状态-数据是否有效：0：无效,1：有效
     *
     * @param isValid the value for group_info.is_valid
     *
     * @mbggenerated
     */
    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    /**
     * Returns : 创建时间
     *
     * @return the value of group_info.create_time
     *
     * @mbggenerated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets : 创建时间
     *
     * @param createTime the value for group_info.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * Returns : 更新时间
     *
     * @return the value of group_info.update_time
     *
     * @mbggenerated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method sets : 更新时间
     *
     * @param updateTime the value for group_info.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * Returns : 备注信息
     *
     * @return the value of group_info.remark
     *
     * @mbggenerated
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method sets : 备注信息
     *
     * @param remark the value for group_info.remark
     *
     * @mbggenerated
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table group_info
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", code=").append(code);
        sb.append(", visibleRange=").append(visibleRange);
        sb.append(", creator=").append(creator);
        sb.append(", isValid=").append(isValid);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}